package com.bmps.springcloud.insuredmicroservice.service.amnt.strategy;

import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.ProductModel;
import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.RequestModel;
import com.bmps.springcloud.insuredmicroservice.model.trail.TrialPersonModel;
import com.bmps.springcloud.insuredmicroservice.service.RedisService;

/**
 * 保费计算保额接口
 * @author :Jacob
 * @date : 2020-06-07
 */
public interface AmntStrategy {

    /**
     * 获取产品对应的被保人列表
     *
     * @param  requestModel 报文请求对象
     * @param  productModel 产品对象
     * @param  redisService 操作缓存对象
     */
    TrialPersonModel amntTrialCalculation(ProductModel productModel, RequestModel requestModel, RedisService redisService);
}
